Optimal. Leaf size=93 \[ \frac{\sqrt{c+\frac{d}{x^2}} (3 b c-4 a d)}{8 d^2 x}-\frac{c (3 b c-4 a d) \tanh ^{-1}\left (\frac{\sqrt{d}}{x \sqrt{c+\frac{d}{x^2}}}\right )}{8 d^{5/2}}-\frac{b \sqrt{c+\frac{d}{x^2}}}{4 d x^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0502702, antiderivative size = 93, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.227, Rules used = {459, 335, 321, 217, 206} \[ \frac{\sqrt{c+\frac{d}{x^2}} (3 b c-4 a d)}{8 d^2 x}-\frac{c (3 b c-4 a d) \tanh ^{-1}\left (\frac{\sqrt{d}}{x \sqrt{c+\frac{d}{x^2}}}\right )}{8 d^{5/2}}-\frac{b \sqrt{c+\frac{d}{x^2}}}{4 d x^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 459
Rule 335
Rule 321
Rule 217
Rule 206
Rubi steps
\begin{align*} \int \frac{a+\frac{b}{x^2}}{\sqrt{c+\frac{d}{x^2}} x^4} \, dx &=-\frac{b \sqrt{c+\frac{d}{x^2}}}{4 d x^3}+\frac{(-3 b c+4 a d) \int \frac{1}{\sqrt{c+\frac{d}{x^2}} x^4} \, dx}{4 d}\\ &=-\frac{b \sqrt{c+\frac{d}{x^2}}}{4 d x^3}-\frac{(-3 b c+4 a d) \operatorname{Subst}\left (\int \frac{x^2}{\sqrt{c+d x^2}} \, dx,x,\frac{1}{x}\right )}{4 d}\\ &=-\frac{b \sqrt{c+\frac{d}{x^2}}}{4 d x^3}+\frac{(3 b c-4 a d) \sqrt{c+\frac{d}{x^2}}}{8 d^2 x}-\frac{(c (3 b c-4 a d)) \operatorname{Subst}\left (\int \frac{1}{\sqrt{c+d x^2}} \, dx,x,\frac{1}{x}\right )}{8 d^2}\\ &=-\frac{b \sqrt{c+\frac{d}{x^2}}}{4 d x^3}+\frac{(3 b c-4 a d) \sqrt{c+\frac{d}{x^2}}}{8 d^2 x}-\frac{(c (3 b c-4 a d)) \operatorname{Subst}\left (\int \frac{1}{1-d x^2} \, dx,x,\frac{1}{\sqrt{c+\frac{d}{x^2}} x}\right )}{8 d^2}\\ &=-\frac{b \sqrt{c+\frac{d}{x^2}}}{4 d x^3}+\frac{(3 b c-4 a d) \sqrt{c+\frac{d}{x^2}}}{8 d^2 x}-\frac{c (3 b c-4 a d) \tanh ^{-1}\left (\frac{\sqrt{d}}{\sqrt{c+\frac{d}{x^2}} x}\right )}{8 d^{5/2}}\\ \end{align*}
Mathematica [A] time = 0.121172, size = 107, normalized size = 1.15 \[ -\frac{\left (c x^2+d\right ) \left (d \sqrt{\frac{c x^2}{d}+1} \left (4 a d x^2-3 b c x^2+2 b d\right )+c x^4 (3 b c-4 a d) \tanh ^{-1}\left (\sqrt{\frac{c x^2}{d}+1}\right )\right )}{8 d^3 x^5 \sqrt{c+\frac{d}{x^2}} \sqrt{\frac{c x^2}{d}+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.01, size = 146, normalized size = 1.6 \begin{align*} -{\frac{1}{8\,{x}^{5}}\sqrt{c{x}^{2}+d} \left ( -4\,\ln \left ( 2\,{\frac{\sqrt{d}\sqrt{c{x}^{2}+d}+d}{x}} \right ){x}^{4}ac{d}^{2}+3\,\ln \left ( 2\,{\frac{\sqrt{d}\sqrt{c{x}^{2}+d}+d}{x}} \right ){x}^{4}b{c}^{2}d+4\,{d}^{5/2}\sqrt{c{x}^{2}+d}{x}^{2}a-3\,{d}^{3/2}\sqrt{c{x}^{2}+d}{x}^{2}bc+2\,{d}^{5/2}\sqrt{c{x}^{2}+d}b \right ){\frac{1}{\sqrt{{\frac{c{x}^{2}+d}{{x}^{2}}}}}}{d}^{-{\frac{7}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.72066, size = 459, normalized size = 4.94 \begin{align*} \left [-\frac{{\left (3 \, b c^{2} - 4 \, a c d\right )} \sqrt{d} x^{3} \log \left (-\frac{c x^{2} + 2 \, \sqrt{d} x \sqrt{\frac{c x^{2} + d}{x^{2}}} + 2 \, d}{x^{2}}\right ) + 2 \,{\left (2 \, b d^{2} -{\left (3 \, b c d - 4 \, a d^{2}\right )} x^{2}\right )} \sqrt{\frac{c x^{2} + d}{x^{2}}}}{16 \, d^{3} x^{3}}, \frac{{\left (3 \, b c^{2} - 4 \, a c d\right )} \sqrt{-d} x^{3} \arctan \left (\frac{\sqrt{-d} x \sqrt{\frac{c x^{2} + d}{x^{2}}}}{c x^{2} + d}\right ) -{\left (2 \, b d^{2} -{\left (3 \, b c d - 4 \, a d^{2}\right )} x^{2}\right )} \sqrt{\frac{c x^{2} + d}{x^{2}}}}{8 \, d^{3} x^{3}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 8.33416, size = 150, normalized size = 1.61 \begin{align*} - \frac{a \sqrt{c} \sqrt{1 + \frac{d}{c x^{2}}}}{2 d x} + \frac{a c \operatorname{asinh}{\left (\frac{\sqrt{d}}{\sqrt{c} x} \right )}}{2 d^{\frac{3}{2}}} + \frac{3 b c^{\frac{3}{2}}}{8 d^{2} x \sqrt{1 + \frac{d}{c x^{2}}}} + \frac{b \sqrt{c}}{8 d x^{3} \sqrt{1 + \frac{d}{c x^{2}}}} - \frac{3 b c^{2} \operatorname{asinh}{\left (\frac{\sqrt{d}}{\sqrt{c} x} \right )}}{8 d^{\frac{5}{2}}} - \frac{b}{4 \sqrt{c} x^{5} \sqrt{1 + \frac{d}{c x^{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{a + \frac{b}{x^{2}}}{\sqrt{c + \frac{d}{x^{2}}} x^{4}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]